
import request from '@/utils/request'


export function returnList(query) {
  return request({
    url: '/service/return/query-list',
    method: 'get',
    params: query
  })
}


export function addData(data) {
  return request({
    url: '/service/return',
    method: 'post',
    data: data
  })
}

export function putData(data) {
  return request({
    url: '/service/return',
    method: 'put',
    data: data
  })
}


export function addResale(data) {
  return request({
    url: '/service/return/add-resale',
    method: 'post',
    data: data
  })
}


export function getDesignByIds(ids) {
    return request({
      url: '/service/concrete/getDesignByIds?ids=' + ids,
      method: 'get'
    })
  }
